package com.hudson.plugin.web.domain.impl;

import com.hudson.plugin.server.hibernateDB.domain.dao.*;
import com.hudson.plugin.web.domain.BaseDataServiceFacade;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by IntelliJ IDEA.
 * User: Richard
 * Date: 5/31/11
 * Time: 8:03 PM
 * To change this template use File | Settings | File Templates.
 */
public class BaseDataServiceFacadeImpl implements BaseDataServiceFacade {
    private final static Logger logger = LoggerFactory.getLogger(BaseDataServiceFacadeImpl.class);

    private HudsonsDAOInterface hudsonDAO;

    private ViewsDAOInterface viewsDAO;

    private ProjectsDAOInterface projectsDAO;

    private BuildsDAOInterface buildsDAO;

    private BuildRelationsDAOInterface buildRelationsDAO;

    public HudsonsDAOInterface getHudsonDAO() {
        return hudsonDAO;
    }

    public void setHudsonDAO(HudsonsDAOInterface hudsonDAO) {
        this.hudsonDAO = hudsonDAO;
    }

    public ViewsDAOInterface getViewsDAO() {
        return viewsDAO;
    }

    public void setViewsDAO(ViewsDAOInterface viewsDAO) {
        this.viewsDAO = viewsDAO;
    }

    public ProjectsDAOInterface getProjectsDAO() {
        return projectsDAO;
    }

    public void setProjectsDAO(ProjectsDAOInterface projectsDAO) {
        this.projectsDAO = projectsDAO;
    }

    public BuildsDAOInterface getBuildsDAO() {
        return buildsDAO;
    }

    public void setBuildsDAO(BuildsDAOInterface buildsDAO) {
        this.buildsDAO = buildsDAO;
    }

    public BuildRelationsDAOInterface getBuildRelationsDAO() {
        return buildRelationsDAO;
    }

    public void setBuildRelationsDAO(BuildRelationsDAOInterface buildRelationsDAO) {
        this.buildRelationsDAO = buildRelationsDAO;
    }
}
